package cc.liyinghao.springsecuritydemo.pojo.param;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotEmpty;

@Getter
@Setter
public class UserRegisterParam {

    @NotEmpty
    private String username;
    @NotEmpty
    private String password;
    private String headImgUrl;
    @Email
    private String email;
    private String phone;
    private String nickName;
    private String note;
}
